package com.cloudfun.campusshare.service;

import com.cloudfun.campusshare.common.model.dto.BillCreateDTO;
import com.cloudfun.campusshare.common.model.vo.BillListVO;
import com.cloudfun.campusshare.common.response.PageResult;
import org.springframework.data.domain.Pageable;


/**
 * @author : zhangyongjie
 * @version : 1.0
 * @createTime : 2020/4/17 14:59
 * @description : 客户消费记录
 */
public interface BillService {

    /**
     * 创建账单
     *
     * @param createDTO
     */
    void create(BillCreateDTO createDTO);

    /**
     * 查询
     *
     * @param pageable
     * @return
     */
    PageResult<BillListVO> search(Pageable pageable);
}
